package com.lwc.cfdns.mapper;

import com.lwc.cfdns.pojo.entity.SystemRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwc.cfdns.pojo.vo.system.RoleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author spring
 * @description 针对表【cfdns_system_role(角色信息表)】的数据库操作Mapper
 * @createDate 2023-05-23 15:18:02
 * @Entity com.lwc.cfdns.pojo.entity.SystemRole
 */
@Mapper
public interface SystemRoleMapper extends BaseMapper<SystemRole> {


    /**
     * 用户角色
     *
     * @param admin_id
     * @return List<String>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/5/26 18:36:44
     */
    List<RoleVO> getRoleByUserId(@Param("admin_id") Long admin_id);
}




